package edu.suda.xsap.service;
import edu.suda.xsap.dto.EmployeeDto;
import edu.suda.xsap.entity.Employee;
import edu.suda.xsap.entity.vo.TeacherVo;

import java.util.List;

public interface EmployeeService {
    void delete(Integer id);
    List<EmployeeDto> findAll();
    EmployeeDto findById(Integer id);

    void save(Employee employee);
    void update(Employee employee);

    List<EmployeeDto> findByLimit(Integer limit, Integer offset);

    Integer findCount();

    List<TeacherVo> record(Integer id);

    String findByPhone(String phone);
}
